package com.guguskins.back.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guguskins.back.entity.GuHenHouseTask;
import com.guguskins.back.entity.bo.HenHouseRoteBo;
import com.guguskins.back.entity.vo.HenHousePrizeVo;
import com.guguskins.back.entity.vo.HenHouseTaskVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mybatis-plus
 * @since 2021-06-28
 */
public interface GuHenHouseTaskService extends IService<GuHenHouseTask> {

    HenHouseTaskVo getDetail(Long userId, Long pnId);

    HenHouseTaskVo getRote(Long userId, HenHouseRoteBo henHouseRoteBo);

    boolean submit(Long userId, HenHouseRoteBo henHouseRoteBo);

    boolean speedUp(Long userId, GuHenHouseTask henHouseTask);

    boolean cancel(Long userId, GuHenHouseTask henHouseTask);

    HenHousePrizeVo receive(Long userId, GuHenHouseTask henHouseTask);
}
